Platform Explorer / Nuxeo Platform 2023.10

Component org.nuxeo.ecm.core.stream.blobs

Requirements

Resolution Order

132
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.stream.blobs">

  <require>org.nuxeo.ecm.core.bulk</require>

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent" point="domainEventProducer">
    <domainEventProducer name="blobDomain" class="org.nuxeo.ecm.core.blob.stream.BlobDomainEventProducer">
      <stream name="source/blob" partitions="${nuxeo.bulk.action.blobGC.defaultPartitions:=1}" codec="avro" />
    </domainEventProducer>
    <domainEventProducer name="documentDomain" class="org.nuxeo.ecm.core.model.stream.DocumentDomainEventProducer">
      <stream name="source/document" partitions="${nuxeo.bulk.action.documentGC.defaultPartitions:=1}" codec="avro" />
    </domainEventProducer>
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="blobGC"
      defaultCodec="avro" class="org.nuxeo.ecm.core.blob.stream.StreamOrphanBlobGC"
      defaultConcurrency="${nuxeo.bulk.action.blobGC.defaultConcurrency:=1}"
      defaultPartitions="${nuxeo.bulk.action.blobGC.defaultPartitions:=1}"
      enabled="${nuxeo.bulk.action.blobGC.enabled:=true}">
      <policy name="default" maxRetries="3" delay="3s" maxDelay="60s"
        continueOnFailure="true" />
    </streamProcessor>
    <streamProcessor name="documentGC"
      defaultCodec="avro" class="org.nuxeo.ecm.core.model.stream.StreamDocumentGC"
      defaultConcurrency="${nuxeo.bulk.action.documentGC.defaultConcurrency:=1}"
      defaultPartitions="${nuxeo.bulk.action.documentGC.defaultPartitions:=1}"
      enabled="${nuxeo.bulk.action.documentGC.enabled:=true}">
      <policy name="default" maxRetries="3" delay="3s" maxDelay="60s"
        continueOnFailure="true" />
    </streamProcessor>
  </extension>

</component>